package com.itheima.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UmsMemberRuleSetting implements Serializable {


    //设定规则表
    private Long id;

    private Integer continueSignDay; //连续签到天数

    private Integer continueSignPoint;  //连续签到赠送数量

    private BigDecimal consumePerPoint; //每消费多少元获取1个点

    private BigDecimal lowOrderAmount;  //最低获取点数的订单金额

    private Integer maxPointPerOrder;  //每笔订单最高获取点数

    private Integer type;  //类型：0->积分规则；1->成长值规则
}
